Integrate Codecov for test coverage reporting#7
Integrate Codecov for test coverage reporting#7Devasy merged 1 commit intofeature/auth-service-workflowfrom
Conversation
This commit introduces Codecov integration into the GitHub Actions workflow.
Key changes:
- Added `pytest-cov` to project dependencies.
- Modified the `run-tests.yml` workflow:
- Adjusted `PYTHONPATH` for correct coverage path mapping.
- Updated the `pytest` command to generate an XML coverage report (`coverage.xml`).
- Added a new step to upload the `coverage.xml` report to Codecov using `codecov/codecov-action@v4`.
This will enable tracking of test coverage over time and provide insights into code quality via Codecov.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
This commit introduces Codecov integration into the GitHub Actions workflow.
Key changes:
pytest-covto project dependencies.run-tests.ymlworkflow:PYTHONPATHfor correct coverage path mapping.pytestcommand to generate an XML coverage report (coverage.xml).coverage.xmlreport to Codecov usingcodecov/codecov-action@v4.This will enable tracking of test coverage over time and provide insights into code quality via Codecov.